#pragma once

#include <typedef.h>
//
#include <gpio.hpp>

class Btn : public GPIO
{
public:
	Btn();
	virtual ~Btn();
	void Init();
	void RunImpl(uint64_t& btn);

private:
	float m_BtnFilter;
	float m_BtnThreshold;
	float m_BtnVal[12];
	float m_BtnValPre[12];
};